package com.cw.DesignModel23.Ceational.BuilderPattern.builder4;

/**
 * 具体建造者
 */
public class CommonHouse extends HouseBuilder {

    @Override
    public void buildBasic() {
        System.out.println(" 普通房子打地基5米 ");
        super.house.setBasic("地基5米");
    }

    @Override
    public void buildWalls() {
        System.out.println(" 普通房子砌墙10cm ");
        super.house.setWall("墙10cm");
    }

    @Override
    public void roofed() {
        System.out.println(" 普通房子屋顶 ");
        super.house.setRoofed("普通房子屋顶");
    }

}

